<template>
	<view>
		<rich-text :nodes="articleData"></rich-text>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				articleData:''
			}
		},
		methods: {
			
		},
		onLoad(options) {
			console.log(options)
				const {id} =options
				uni.request({
					url:`https://unidemo.dcloud.net.cn/api/news/36kr/${id}`,
					success: (res) => {
						this.articleData=res.data.content
					}
				})
		}
	}
</script>

<style>

</style>
